
set(knote_SRCS 
    backgrounds/bgsource.cpp
    backgrounds/blankBG.cpp
    commands.cpp
    document.cpp
    journaltabwidget.cpp
    journalwindow.cpp
    main.cpp
    maincontrol.cpp
    page.cpp
    pagecontrol.cpp
    tools/eraser_tool.cpp
    tools/pen_tool.cpp
    tools/tool.cpp
    tools/tool_commands.cpp
)

kde4_add_executable(knote ${knote_SRCS})
target_link_libraries(knote ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS})

install(TARGETS knote DESTINATION ${BIN_INSTALL_DIR})
install(FILES knoteui.rc DESTINATION ${DATA_INSTALL_DIR}/knote)